package com.njtoyo.taxi.admin.mongo.repository.primary;

import com.njtoyo.taxi.admin.mongo.entity.primary.CallGeoCircleFenceMongo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface CallGeoCircleFenceMongoRepository extends MongoRepository<CallGeoCircleFenceMongo, ObjectId> {


    List<CallGeoCircleFenceMongo> getByRuleId(Long ruleId);

    void deleteByRuleId(Long id);

}
